package edu.hawaii.duedates;

import java.util.Date;

/**
 * Class for books.
 * 
 * @author Ka Hung Phillip Lau
 * @author Creighton Okada
 *
 */
final class Book {
  private final String bookTitle;
  private final Date bookDueDate;
  
  /**
   * Book constructor.
   * @param title the book's title
   * @param dueDate the book's due date
   */
  public Book(String title, Date dueDate) {
    this.bookTitle = title;
    this.bookDueDate = dueDate;
  }
  /**
   * Returns book's due date.
   * @return book's due date
   */
  public Date getBookDueDate() {
    return bookDueDate;
  }
  /**
   * Returns book's title.
   * @return book's title
   */
  public String getBookTitle() {
    return bookTitle;
  }
}
